package cn.codingjc.peekaboo.infrastructure.persistence.mapper;

import cn.codingjc.peekaboo.infrastructure.persistence.po.SysMenuPO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 * @date: 2023/5/8
 * @author: Codingjc
 * @className: SysMenuMapper
 **/
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenuPO> {
    Set<String> getPermissionsByUserId(@Param("userId") Long userId);
}
